package com.awakening.demo;

import io.netty.channel.ChannelPipeline;
import io.netty.handler.codec.http.HttpServerCodec;
import io.netty.handler.timeout.IdleStateHandler;

import java.nio.channels.Channels;

/**
 * @Author:AwakeningCode
 * @Date: Created in 15:20 2018\3\10 0010
 */
public class test {

    public static void main(String[] args) {
        /*pipelineFactory = new ChannelPipelineFactory(){
            public ChannelPipeline getPipeline() throws Exception{
                ChannelPipeline pipeline = Channels.pipeline();
                pipeline.addLast("idleStateHandler",new IdleStateHandler(...));
                pipeline.addLast("httpServerCodec",new HttpServerCodec());
                pipeline.addLast("requestController",new RequestController(...));
                return pipeline;
            }
        };*/
    }

}
